cmake_minimum_required (VERSION 3.18.4)
project ("module_manager" VERSION 1.0.0)


# 构建模块
include(cmake/module/build_module.cmake)


# 创建 程序模块
include(utils/create_executable)
# 创建 库模块
include(utils/create_library)
# 添加源文件模块
include(utils/add_sources)
set(MODULE_SOURCES_DIR ${CMAKE_CURRENT_SOURCE_DIR}/module CACHE PATH "模块源码根目录")




# 引入 libssh 模块
#include(module/libssh_module)
#include(module/nlohmann_json_module)
#include(module/libpsl_module)
#include(module/curl_module)
#include(module/libcpr_module)

#include(utils/cmak_module)
#include(utils/configure_module)


# 导入测试模块
#add_subdirectory(test-module/ssh)

# perl configdata.pm --dump









